using Entitas;
using UnityEngine;

public sealed class CreatePlayerSystem : IInitializeSystem {

    Contexts _pools;

    public CreatePlayerSystem(Contexts _pools)
    {
        this._pools = _pools;
    }

    public void Initialize() {
        _pools.blueprints.blueprints.instance
              .ApplyPlayer1(_pools.core.CreateEntity(), Vector3.zero);
    }
}
